package com.mall.shop.entity.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 属性&属性分组关联(AttrAttrgroupRelation)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-16 15:11:28
 */
@Getter
@Setter
@TableName("pms_attr_attrgroup_relation")
@Schema(name = "属性&属性分组关联实体", description = "属性&属性分组关联映射")
public class AttrAttrgroupRelation implements Serializable {
    private static final long serialVersionUID = -69306282232134776L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "attr_id")
    @Schema(description = "属性id")
    private Long attrId;
    
    @TableField(value = "attr_group_id")
    @Schema(description = "属性分组id")
    private Long attrGroupId;
    
    @TableField(value = "attr_sort")
    @Schema(description = "属性组内排序")
    private Integer attrSort;
    
}

